<?php


namespace app\erp\validate;


use think\Validate;

class Fingerprintrule extends Validate
{
    protected $rule = [
        'fingerprint' => 'require|unique:member_fingerprint,fingerprint^member_id'
    ];
    protected $message = [
        'fingerprint.require' => '指纹不能为空',
        'fingerprint.unique' => '当前账号指纹已存在',
    ];
}